﻿using Newtonsoft.Json;

namespace Dyao.Book.Contract
{
    public class BookChapterDto
    {
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime LastUpdateDate { get; set; }

        /// <summary>
        /// 明细
        /// </summary>
        public List<BookChapterItemDto> Items { get; set; }
    }

    public class BookChapterItemDto
    {
        /// <summary>
        /// 章节Id
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 章节名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 卷名
        /// </summary>
        public string VolumeName { get; set; }

        /// <summary>
        /// 字数
        /// </summary>
        public int WordsNumber { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime LastUpdateDate { get; set; }
    }
}
